package cn.qin.Actions;

import cn.qin.Services.newsServices;

import com.opensymphony.xwork2.Action;
import com.opensymphony.xwork2.ActionSupport;

public class modifyPasswordAction extends ActionSupport {
	String password;
	String username;
	newsServices nes = new newsServices();
	public String execute(){
		nes.modifyPassword(password,username);
		return Action.SUCCESS;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	} 
}
